<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<div class='span2 news1' style='height:140px;margin-bottom:10px;'>
  <div class=""> 
  <ul class='menu nav nav-tabs nav-stacked'>
  <li id='all'><a href='<%=basePath%>nb/allbullet_1'>全部</a></li>
     <li id='djb'><a href='<%=basePath%>nb/djb_1'>党建公告</a></li>
     <!--<li id='kyb'><a href='<%=basePath%>nb/kyb_1'>科研公告</a></li>-->
     <li id='zsjyb'><a href='<%=basePath%>nb/zsjyb_1'>招生就业公告</a></li>
     <li id='xsgzb'><a href='<%=basePath%>nb/xsgzb_1'>学生工作公告</a></li>
     <li id='xs'><a href='<%=basePath%>nb/xsb_1'>学术公告</a></li>
     <li id='bgjz'><a href='<%=basePath%>nb/bgjz_1'>报告讲座</a></li>
  </ul>
</div>
</div>
<div class='span9 newscontent nbheight' >

	<div class='span6'>
		<form action="<%=basePath%>nb/search/1" method="post"
			class='form-search'>

			<div class='span8'>
				<input type="text" name='title' value="检索信息" id='search'
					class=" init search input-medium search-query "
					style='margin-top: 10px;height:33px;'>
			</div>
			<div class='span2' style='margin-top: 10px;'>
				<input type="hidden" id='' name='type' value='bulletin' /> <input
					class='btn btn-info' type="submit" id='searchbtn' value="找找看">
			</div>

		</form>
	</div>
	
<c:if test="${not empty  pnewses}">
	<div class="">
		<h1>报告讲座</h1>
		<table class="table table-hover"  style='width:100%;'>
          <c:forEach items="${pnewses }" var="i">
             <tr >
              <td  class='title'  ><div class='texthidden'><a  href='<%=basePath %>nb/detailb/${i.id }'  title="${i.title }">${i.title }</a></div></td>
               
              <td style='margin-left:400px;' align="right">${i.publishDate }</td>
           </tr>
          </c:forEach>
           
		</table>
		<div id="" class="span12" style='margin-left:40%;margin-top:10px;'>
		   
	   <p> <a href='<%=basePath%>nb/bgjz_1 '>【首	页】</a>
	   <a href='<%=basePath%>nb/bgjz_${pagenow-1 } ' id="first">【上一页】</a>
	   <a  class="pagenow">
	   <strong style='color:red;font-size:16px;'>${pagenow}</strong></a>...
	   <a href='<%=basePath%>nb/bgjz_${pagecount }'>${pagecount }</a>
	   <a href='<%=basePath%>nb/bgjz_${pagenow+1 } ' id="next">【下一页】</a>
	   <a href='<%=basePath%>nb/bgjz_${pagecount } '>【末	页】</a>
	   </p>
	   <script type="text/javascript">
	   $(function(){
		   var page = ${pagenow};
		   
		   var pagecount = ${pagecount};
		 
		   if(parseFloat(page)+1 >parseFloat(pagecount))
			   {
			       $("#next").hide();
			   }
		   if(parseFloat(page)-1 <1)
			   {
			     $("#first").hide();
			   }else{
				   $("#first").show();
			   };
			  
	   });
	</script>
	</div>
	</div>
</c:if>
<c:if test="${empty  pnewses}">
   <div style='height:200px;'>
      <p style='color:#990000;'>暂时没有信息！</p>
   </div>
   </c:if>
</div>
